import API from "@/network/request"

export default {
  /**
   * @description: 查询行业数据信息
   * @param:
   * @return:
   * @author: eaglehuang720@foxmail.com
   * @date: 2021/4/23
   */
  getAccountQuery(data) {
    return API({
      url: 'account/queryAccount',
      method: 'POST',
      data
    })
  },
  // account/queryAccountByKeyWord
  queryAccountByKeyWord(data) {
    return API({
      url: 'account/queryAccountByKeyWord',
      method: 'POST',
      data
    })
  },

  /**
   * @description: 新增行业数据信息
   * @param:
   * @return:
   * @author: eaglehuang720@foxmail.com
   * @date: 2021/4/26
   */
  getRecordQuery(data) {
    return API({
      url: 'account/queryUploadRecord',
      method: 'POST',
      data
    })
  },

  /**
   * @description: 查询app和行业信息
   * @param:
   * @return:
   * @author: eaghehuang720@foxmail.com
   * @data: 2021/4/26
   */
  getAppTradeInfo(data) {
    return API({
      url: 'account/queryAppAndIndustry',
      method: 'POST',
      data
    })
  },

  /**
   * @description: 添加话术
   * @param:
   * @return:
   * @author: eaghehuang720@foxmail.com
   * @data: 2021/4/26
   */
  getWordsAdd(data) {
    return API({
      url: 'words/addWords',
      method: 'POST',
      data
    })
  },

  /**
   * @description: 查询话术
   * @param:
   * @return:
   * @author: eaghehuang720@foxmail.com
   * @data: 2021/4/26
   */
  getWordsQuery(data) {
    return API({
      url: 'words/queryWords',
      method: 'POST',
      data
    })
  },

  /**
 * @description: 修改话术
 * @param:
 * @return:
 * @author: eaghehuang720@foxmail.com
 * @data: 2021/4/26
 */
  getWordsUpd(data) {
    return API({
      url: 'words/updateWords',
      method: 'POST',
      data
    })
  },

  /**
   * @description: 删除话术
   * @param:
   * @return:
   * @author: account/queryLanguage
   * @data: 2021/4/27
   */
  getWordsDel(data) {
    return API({
      url: 'words/deleteWords',
      method: 'POST',
      data
    })
  },

  /**
   * @description: 语言
   * @param:
   * @return:
   * @author: account/queryCountry
   * @data: 2021/4/27
   */
  queryLanguage(data) {
    return API({
      url: 'account/queryLanguage',
      method: 'POST',
      data
    })
  },

  /**
   * @description: 语言
   * @param:
   * @return: taskLog/queryTaskLog
   * @author: account/queryCountry
   * @data: 2021/4/27
   */
  queryCountry(data) {
    return API({
      url: 'account/queryCountry',
      method: 'POST',
      data
    })
  },


  /**
   * @description: 任务详情
   * @param:
   * @return:
   * @author:
   * @data: 2021/4/27
   */
  queryTaskLog(data) {
    return API({
      url: 'taskLog/queryTaskLog',
      method: 'POST',
      data
    })
  },


  /**
   * @description: 统计列表
   * @param:
   * @return:
   * @author:
   * @data: 2021/7/6
   */
  queryList(data) {
    return API({
      url: 'statistics/queryStatistics',
      method: 'POST',
      data
    })
  },

  querySensitiveWords(data) {
    return API({
      url: 'organ/querySensitiveWords',
      method: 'POST',
      data
    })
  },

 /**
  * @description: 查询app
  * @author: eaglehuang720@foxmail.com
  * @param {*} data
  * @date: 2021/5/8
  */
 getAppAndMissionList(data) {
  return API({
    url: 'app/queryAllApp2',
    method: 'POST',
    data
  })
 },

}
